package common

import (
	"gpt-api/framework/auther"
	"gpt-api/framework/cache"
	"gpt-api/framework/db"
	"gpt-api/framework/weixin"
)

type Handler struct {
	db     *db.DB
	cache  *cache.RedisClient
	wx     *weixin.Weixin
	auther auther.Auther
}

func New(db *db.DB, auther auther.Auther) *Handler {
	return &Handler{db: db, auther: auther}
}
